package com.fin.quant.domain.mapstruct;

import com.fin.quant.domain.entity.DividendHistoryEntity;
import com.fin.quant.instra.mysql.model.DividendHistory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface DividendHistoryMapperStruct {
    DividendHistoryMapperStruct INSTANCE = Mappers.getMapper(DividendHistoryMapperStruct.class);

    DividendHistoryEntity model2Entity(DividendHistory dividendHistory);

    DividendHistory entity2Model(DividendHistoryEntity dividendHistoryEntity);
}
